Filter Deleted Objects with Links

So I'm a total DXL newbie and I need some help.  We're going through a major cleanup of DOORS 9.6 and we need to go through the modules and delete links from deleted objects.  I found DXL to show only deleted objects in the modules but I still need to scroll to find the objects with links.  Is there a way to filter the modules to only show deleted objects that have links?

 

Thank you!

Kelly


K_Bravo - Thu Oct 20 14:46:01 EDT 2016

Re: Filter Deleted Objects with Links
DOORSHAM - Fri Oct 21 06:48:47 EDT 2016

You can write a dxl that will filter based on accept or reject perm

Re: Filter Deleted Objects with Links
Antonio__Norkus - Tue Oct 25 06:11:06 EDT 2016

To do this, I would add a Boolean DXL attribute called "Object Is Deleted" with the following DXL:
 

if (isDeleted(obj)) obj.attrDXLName = true
else obj.attrDXLName = false

The attribute can then be used in a standard filter, such as (Object Is Deleted == True) AND (Has in or out links through *)'

Re: Filter Deleted Objects with Links
leporello - Thu Nov 17 03:19:52 EST 2016

Hi Kelly

 

like DOORSHAM said the accept /reject perm should do it.

 

Try something like that:

filtering off
showDeletedObjects(true)
Filter f1 = hasLinks(linkFilterIncoming, "*")
set f1
filtering on

for o in m do {
 reject o
 if(isDeleted(o)) {
  accept o
 }
}

Regards

Chris